﻿package mortal.game.view.common.cd
{
    import com.gengine.core.call.*;
    import mortal.game.view.common.cd.effect.*;

    public interface ICDData
    {

        public function ICDData();

        function addEffect(param1:ICDEffect) : void;

        function removeEffect(param1:ICDEffect) : void;

        function get isCoolDown() : Boolean;

        function set isCoolDown(param1:Boolean) : void;

        function startCoolDown() : void;

        function stopCoolDown() : void;

        function dispose() : void;

        function set beginTime(param1:Number) : void;

        function get beginTime() : Number;

        function get totalTime() : Number;

        function set totalTime(param1:Number) : void;

        function addFinishCallback(param1:Function) : void;

        function removeFinishCallback(param1:Function) : void;

        function addStartCallback(param1:Function) : void;

        function removeStartCallback(param1:Function) : void;

        function addFrameUpdate(param1:Function) : void;

        function removeFrameUpdate(param1:Function) : void;

        function get caller() : Caller;

        function get leftTime() : int;

        function get usedTime() : int;

        function set key(param1:String) : void;

        function get key() : String;

    }
}
